<?php /* Smarty version Smarty-3.1.6, created on 2018-03-12 14:15:25
         compiled from "./Tpl/Admin\Redpack\record.html" */ ?>
<?php /*%%SmartyHeaderCode:205405aa61afd41c330-46404078%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a1074257e8ef14420e8647abc8457b257d6957c9' => 
    array (
      0 => './Tpl/Admin\\Redpack\\record.html',
      1 => 1517969866,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '205405aa61afd41c330-46404078',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'module' => 0,
    'controller' => 0,
    'action' => 0,
    'page' => 0,
    'limit' => 0,
    'ofield' => 0,
    'otype' => 0,
    'setKV' => 0,
    'setId' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5aa61afd485ab',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5aa61afd485ab')) {function content_5aa61afd485ab($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'E:\\findmeServer\\ThinkPHP\\Library\\Vendor\\Smarty\\plugins\\function.html_options.php';
?><?php echo $_smarty_tpl->getSubTemplate ("Public/top.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	</head>
	<body>
		<div id="warpper">
            <div class="content">
                <div class="location">物品交换</div>
                <?php echo $_smarty_tpl->getSubTemplate ("./nav.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                <div class="filedSet" style="padding-bottom: 0;">
                    <div class="search">
                        <form action="" id="searchForm" method="get" class="ui-form reportForm">
                            <input name="m" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['module']->value;?>
">
                            <input name="c" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['controller']->value;?>
">
                            <input name="a" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
">

                            <input name="p" id="page" type="hidden" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['page']->value)===null||$tmp==='' ? 1 : $tmp);?>
">
                            <input name="limit" id="limit" type="hidden" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['limit']->value)===null||$tmp==='' ? 10 : $tmp);?>
">
                            <input name="ofield" id="ofield" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['ofield']->value;?>
">
                            <input name="otype"  id="otype"  type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['otype']->value;?>
">

                            <div class="ui-form-item inline-block">
                                <label class="ui-label">时间</label>
                                <input  name="startDate" id="startDate" readonly class="ui-select" type="text" />
                                <label class="ui-label">至</label>
                                <input  name="endDate" id="endDate" readonly class="ui-select" type="text" />
                            </div>
                            <div class="ui-form-item inline-block">
                                <label class="ui-label">活动</label>
                                <select name="setId" class="ui-select" style="width: 100px;">
                                    <option value="0">全部</option>
                                    <?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['setKV']->value,'selected'=>$_smarty_tpl->tpl_vars['setId']->value),$_smarty_tpl);?>

                                </select>
                            </div>
                            <div class="ui-form-item inline-block">
                                <label class="ui-label">用户昵称</label>
                                <input  name="nickname" class="ui-text bg-text keyword" type="text" />
                            </div>

                            <div class="ui-form-item inline-block">
                                <button type="button" class="ui-button" onclick="query();">搜索</button>
                            </div>
                        </form>
                    </div>
                </div> 
                             
                
                <!--表格内容-->
                <div class="mainGrid">
                    <table class="ui-table ui-body">
                        <thead>
                        <tr>
                            <th class="pct15">发出时间</th>
                            <th class="pct10">用户昵称</th>
                            <th class="pct12">红包发送状态</th>
                            <th class="pct9">红包领取状态</th>
                            <th class="pct9">红包金额</th>
                            <th class="pct9">操作</th>
                        </tr>
                        </thead>
                        <tbody id="listHTML">
                            <?php echo $_smarty_tpl->getSubTemplate ("./record_list.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                        </tbody>
                    </table>
                </div>
                <div class="pagination" id="pagerHTML">
                    <!--描述：分页-->
                    <?php echo $_smarty_tpl->getSubTemplate ("Public/page_ajax.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                </div>
            </div>
		</div>
        <?php echo $_smarty_tpl->getSubTemplate ("Public/foot_ajax.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>



        <script>
            datePickter('startDate','endDate',true);
        </script>

	</body>
</html>

<?php }} ?>